package com.it.sqzx.config;

import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * projectName: springCloud
 *
 * @author: 王宝贵
 * time: 2024/9/13 22:49 周五
 * description:
 */

@Configuration
public class RestTemplateConfiguration
{
    @Bean
    @LoadBalanced
    public RestTemplate restTemplate()
    {
        return new RestTemplate() ;
    }

}
